selectionAsText

public abstract String selectionAsText()

Returns a text representation of the selected content in the frame or an empty string if there is no selection.

Throws

when the frame is closed